<?php

namespace App\Repositories;

use App\Models\FreightArea;
use InfyOm\Generator\Common\BaseRepository;

/**
 * Class FreightAreaRepository
 * @package App\Repositories
 * @version May 8, 2018, 5:19 pm CST
 *
 * @method FreightArea findWithoutFail($id, $columns = ['*'])
 * @method FreightArea find($id, $columns = ['*'])
 * @method FreightArea first($columns = ['*'])
*/
class FreightAreaRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'first_number',
        'first_price',
        'continue_number',
        'continue_price',
        'shop_id',
        'status'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return FreightArea::class;
    }
}
